{% extends 'mytest.html' %}

{% block content-center %}
    <h3  class="page-header">日期 </h3>
    <div class='row'>
      <table class="table table-hover">
       <th>日期</th>
       <th>时间段</th>
       <th>年</th>
       <th>月</th>

       {% for date in dim_date%}
        <tr>
           <td> {{date.date1}} </td>
           <td> {{date.date3}}</td>
           <td> {{date.year}}</td>
           <td> {{date.month}}</td>
        </tr>
        {%endfor%}
      </table>
    </div>
{% endblock %}